package city.spring.repository.mealService;

import city.spring.domain.entity.mealService.WeekMealEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WeekMealRepository extends BaseMapper<WeekMealEntity> {
    /**
     * 获取周次的单位餐次列表
     *
     * @param weekId 周期ID
     * @return 餐次列表
     */
    List<WeekMealEntity> getWeekMeal(@Param("weekId") String weekId);
}
